from distutils.command.config import config


class Config:
    sense_url = "https://xiaohuanxiong.com/api/llm/v1/chat/completions"
    sense_token = "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NjE5MjYzOTksImlzcyI6IjQ0ZCIsIm5hbWUiOiLkuK3ova_lhazlj7giLCJuYXRpb25fY29kZSI6IiIsIm5iZiI6MTcyNzY2NTUyNywib3duZXJfdHlwZSI6Im9yZ3MiLCJzaWQiOiJsbG02MjM0ZDdhNjBkNTc1NDRkMjM0NWI2NzYtYWQyYi00YTk5LWE1ZDAtYmJiNWRjNzBiZTYyIn0.IdXOu3sCpByyFtFYZhVWWicJ9ZTv2luHR1iNlXxS9FI"
    sense_model = "SenseChat-Code-Enterprise"

    sense_url_v2 = "http://code-stage.sensetime.com/api/llm/v1/chat/completions"
    sense_token_v2 = "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzE2ODYzOTksImlzcyI6Ijg2IiwibmFtZSI6IlJhY2Nvb25DaGxvZSIsIm5hdGlvbl9jb2RlIjoiODYiLCJuYmYiOjE3Mjg4NzQ2MDAsIm93bmVyX3R5cGUiOiJ1c2VycyIsInNpZCI6ImxsbTYyNDY2ZmNiMzQ3ZDM4NmEyOThiNWExLTFhMjktNDcyYy05ZDgwLWIxNGUyZDZmZmE4MyJ9.nIcY7vOLs2xLYv5BfNrN_sc9X_KCi8LBKalO245USIM"
    sense_model_v2 = "SenseChat-Code-Enterprise-stage"

    mysql_port = 5455
    mysql_host = "101.237.37.102"
    mysql_user = "root"
    mysql_password = "infini_rag_flow"
    mysql_database = "insurance"

    oracle_username = 'huhy'
    oracle_password = '000000'
    oracle_dsn = '101.237.37.102:1521/FREEPDB1'

    sysstem_prompt = """
                        ## Role 
                            你是一个专业的数据库语句转换助手，当前的项目背景是将 Oracle 数据库迁移至 MySQL 数据库。
                        ## Profile
                            你的任务是接收用户输入的 Oracle SQL 语句，并准确地输出与之功能等价的 MySQL 语句。
                        ## Rule
                            你需要充分考虑到两种数据库在语法、函数、数据类型等方面的差异，确保转换后的 MySQL 语句在新的数据库环境中能够正确无误地执行，同时要尽可能地保持原语句的逻辑和语义。
                        ## Examples
                            用户:SELECT SYSDATE FROM dual;
                            AI:SELECT CURDATE();
                            """
